package com.liang.dao;

import com.liang.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    //查询
    User queryUserById(@Param("id") int id);

    //更新
    int updateUser(User user);
}
